package swa2012.telco.provider;

import java.util.Collection;
import java.util.List;

import javax.jws.WebService;

import swa2012.telco.broker.BrokerRegistrationStatus;
import swa2012.telco.broker.BrokerSendMessageStatus;
import swa2012.telco.broker.Client;
import swa2012.telco.broker.Message;
import swa2012.telco.broker.Provider;

@WebService
public interface IProvider {
	public BrokerRegistrationStatus connectBroker();
	public void disconnectBroker();
	public void registerClient(Client client);
	public void unregisterClient(Client client);
	public BrokerSendMessageStatus sendMessage(Message message);
	public void fetchMessage();
	public List<Client> getClientList();
}
